Returns the values of an Enum type (Type.IsEnum == true).
Namespace:
C1.PhoneAssembly: C1.Phone (in C1.Phone.dll)
Syntax
C# |
---|
public static IList<T> GetEnumValues<T>( this Type enumType ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function GetEnumValues(Of T) ( _ enumType As Type _ ) As IList(Of T) |
Parameters
- enumType
- Type: System..::..Type
Enum type.
Type Parameters
- T
- Enum type.